package com.androidx.p013lv.invention.adapter;

import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentStatePagerAdapter;
import com.androidx.p013lv.base.bean.TopTabBean;
import com.androidx.p013lv.base.p015ui.LazyFragment;
import java.util.List;

/* renamed from: com.androidx.lv.invention.adapter.AdapterTopTab */
public class AdapterTopTab extends FragmentStatePagerAdapter {
    List<LazyFragment> fragmentList;
    List<TopTabBean> titleList;

    public AdapterTopTab(List<LazyFragment> list, List<TopTabBean> list2, FragmentManager fragmentManager, int i) {
        super(fragmentManager, i);
        this.fragmentList = list;
        this.titleList = list2;
    }

    @Override // androidx.fragment.app.FragmentStatePagerAdapter
    public Fragment getItem(int i) {
        return this.fragmentList.get(i);
    }

    @Override // androidx.viewpager.widget.PagerAdapter
    public int getCount() {
        return this.fragmentList.size();
    }

    @Override // androidx.viewpager.widget.PagerAdapter
    public CharSequence getPageTitle(int i) {
        return this.titleList.get(i).getBoardName();
    }
}
